package UILayer;

import javax.swing.JPanel;
import javax.swing.border.TitledBorder;
import javax.swing.border.LineBorder;
import java.awt.Color;
import javax.swing.JTextField;
import javax.swing.JLabel;
import javax.swing.JButton;
import java.awt.Checkbox;
import javax.swing.JTable;

public class ProduktgruppePanel extends JPanel {
	private JTextField textField;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;
	private JTable table;
	private JTextField textField_1;

	/**
	 * Create the panel.
	 */
	public ProduktgruppePanel() {
		setBorder(new LineBorder(new Color(0, 0, 0)));
		setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setLayout(null);
		panel.setBorder(new TitledBorder(new LineBorder(new Color(0, 0, 0)), "Find produktgruppe", TitledBorder.LEADING, TitledBorder.TOP, null, null));
		panel.setBounds(10, 11, 247, 91);
		add(panel);
		
		textField = new JTextField();
		textField.setColumns(10);
		textField.setBounds(10, 48, 102, 20);
		panel.add(textField);
		
		JLabel lblGruppeNr = new JLabel("Gruppe nr.");
		lblGruppeNr.setBounds(10, 26, 66, 14);
		panel.add(lblGruppeNr);
		
		JButton button = new JButton("Find");
		button.setBounds(148, 47, 89, 23);
		panel.add(button);
		
		JPanel panel_1 = new JPanel();
		panel_1.setLayout(null);
		panel_1.setBorder(new TitledBorder(new LineBorder(new Color(0, 0, 0)), "Opret produktgruppe", TitledBorder.LEADING, TitledBorder.TOP, null, null));
		panel_1.setBounds(10, 109, 247, 86);
		add(panel_1);
		
		textField_3 = new JTextField();
		textField_3.setColumns(10);
		textField_3.setBounds(10, 47, 105, 20);
		panel_1.add(textField_3);
		
		JButton button_1 = new JButton("Tilf\u00F8j");
		button_1.setBounds(148, 46, 89, 23);
		panel_1.add(button_1);
		
		JLabel label = new JLabel("Gruppe nr.");
		label.setBounds(10, 22, 66, 14);
		panel_1.add(label);
		
		JPanel panel_2 = new JPanel();
		panel_2.setLayout(null);
		panel_2.setBorder(new TitledBorder(new LineBorder(new Color(0, 0, 0)), "Produktgruppe oplysninger", TitledBorder.LEADING, TitledBorder.TOP, null, null));
		panel_2.setBounds(10, 303, 637, 177);
		add(panel_2);
		
		JLabel lblGruppeNr_1 = new JLabel("Gruppe nr.");
		lblGruppeNr_1.setBounds(10, 27, 63, 14);
		panel_2.add(lblGruppeNr_1);
		
		textField_4 = new JTextField();
		textField_4.setColumns(10);
		textField_4.setBounds(83, 21, 302, 20);
		panel_2.add(textField_4);
		
		textField_5 = new JTextField();
		textField_5.setColumns(10);
		textField_5.setBounds(83, 49, 302, 113);
		panel_2.add(textField_5);
		
		JLabel lblBeskrivelse = new JLabel("Beskrivelse");
		lblBeskrivelse.setBounds(10, 55, 86, 14);
		panel_2.add(lblBeskrivelse);
		
		JButton btnFjern = new JButton("Fjern");
		btnFjern.setBounds(538, 139, 89, 23);
		panel_2.add(btnFjern);
		
		JButton button_3 = new JButton("Gem");
		button_3.setBounds(440, 139, 89, 23);
		panel_2.add(button_3);
		
		JPanel panel_3 = new JPanel();
		panel_3.setLayout(null);
		panel_3.setBorder(new TitledBorder(new LineBorder(new Color(0, 0, 0)), "Produktgruppe register", TitledBorder.LEADING, TitledBorder.TOP, null, null));
		panel_3.setBounds(267, 11, 380, 281);
		add(panel_3);
		
		table = new JTable();
		table.setColumnSelectionAllowed(true);
		table.setCellSelectionEnabled(true);
		table.setBounds(10, 44, 360, 226);
		panel_3.add(table);
		
		JPanel panel_4 = new JPanel();
		panel_4.setLayout(null);
		panel_4.setBorder(new TitledBorder(new LineBorder(new Color(0, 0, 0)), "Tilf\u00F8j vare til produktgruppe", TitledBorder.LEADING, TitledBorder.TOP, null, null));
		panel_4.setBounds(10, 206, 247, 86);
		add(panel_4);
		
		textField_1 = new JTextField();
		textField_1.setColumns(10);
		textField_1.setBounds(10, 45, 116, 20);
		panel_4.add(textField_1);
		
		JButton button_2 = new JButton("Tilf\u00F8j");
		button_2.setBounds(148, 44, 89, 23);
		panel_4.add(button_2);
		
		JLabel lblArtikelNr = new JLabel("Artikel nr.");
		lblArtikelNr.setBounds(10, 22, 66, 14);
		panel_4.add(lblArtikelNr);

	}

}
